package com.house;

import com.house.service.AdminService;
import javafx.css.CssMetaData;
import javafx.css.Styleable;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;

@SpringBootApplication
@EntityScan(value ="com.house.entity")
@MapperScan(value ="com.house.mapper")
public class HouseApplication {

    public static void main(String[] args) {
        SpringApplication.run(HouseApplication.class, args);
        System.out.println("启动成功！点击下面地址开始访问：");
        System.out.println("http://localhost/");
        System.out.println("超级管理员账户：sadmin，密码：sadmin");
        System.out.println("普通管理员账户：admin，密码：admin");
        System.out.println("普通用户账户：user，密码：user");

    }

}
